package com.zhsource.system.service;

import com.github.pagehelper.PageInfo;
import com.zhsource.system.domain.Role;
import com.zhsource.system.query.RoleQuery;

import java.util.List;

/**
 * <p>@ClassName：IRoleService
 * <p>@Date 2023/10/17  23:28
 *
 * @Author zzl
 **/
public interface IRoleService {
    List<Role> list();

    Role selectById(Long id);

    PageInfo<Role> page(RoleQuery roleQuery);

    void update(Role role);

    void insert(Role role);

    void delete(Long id);

    void batchDel(List<Long> ids);

}
